package com.ptl.bp.dto;

import lombok.Data;

@Data
public class ImportError {
    private final int rowNum;
    private final String message;

    public ImportError(int rowNum, String message) {
        this.rowNum = rowNum;
        this.message = message;
    }

    @Override
    public String toString() {
        return String.format("第%d行: %s", rowNum,  message);
    }
}
